import request from '@/utils/request'

const baseUrl = '/comments'

// 查询所有留言
export const getAllCommentsService = () => request.get(baseUrl + '/list')

// 添加留言的方法
export const addCommentService = (data) => request.post(baseUrl + '/add', data)
